package com.ruoyi.trackapply.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.trackapply.component.DjVOJsonSerializer;
import com.ruoyi.trackapply.component.LocaionListSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@ApiModel("地固系定轨数据VO")
@Data
@JsonSerialize(using = DjVOJsonSerializer.class)
public class XbfVO {

    @ApiModelProperty("模型")
    @JsonIgnore
    private String model;

    @ApiModelProperty("位置x")
    @JsonSerialize(using = LocaionListSerializer.class)
    private List<BigDecimal> x;

    @JsonSerialize(using = LocaionListSerializer.class)
    @ApiModelProperty("位置y")
    private List<BigDecimal> y;

    @JsonSerialize(using = LocaionListSerializer.class)
    @ApiModelProperty("位置z")
    private List<BigDecimal> z;

    @JsonSerialize(using = SpeedListSerializer.class)
    @ApiModelProperty("速度vx")
    private List<BigDecimal> vx;

    @JsonSerialize(using = SpeedListSerializer.class)
    @ApiModelProperty("速度vy")
    private List<BigDecimal> vy;

    @JsonSerialize(using = SpeedListSerializer.class)
    @ApiModelProperty("速度vz")
    private List<BigDecimal> vz;

}
